package com.lzjy.tw.composedemo.domain.repository

import com.lzjy.tw.composedemo.domain.dao.TestDao
import com.lzjy.tw.composedemo.domain.model.TestModel

class TestRepository(private val testDao: TestDao) {
    fun insert(model: TestModel) = testDao.insert(model)
    fun query(id: Int) = testDao.query(id)
    fun queryAll() = testDao.queryAll()
}